

if [ ! -d pcre-8.36 ]; then 
	git clone https://git.oschina.net/wr4ng1er/pcre-8.36.git 
else
	echo "pcre-8.36 file exit"
fi 

cd pcre-8.36
autoreconf -ivf .
./configure --prefix=/opt/pcre	&& make && make install 

echo 'export PATH=$PATH:/opt/pcre/bin'>>/etc/profile
source /etc/profile
echo '/opt/pcre/lib' >> /etc/ld.so.conf.d/pcre.conf
echo '/opt/pcre/include' >> /etc/ld.so.conf.d/pcre.conf
sudo /sbin/ldconfig



